package com.dstation.service.interf;

import com.dstation.domain.UserInfo;

/**
 * @author Eastward
 * @date 2022/4/24 - 20:14
 */
public interface IUserService {
    UserInfo findUserInfo(UserInfo userInfo);

    UserInfo findUserInfoByUserId(Long userId);

    Boolean alterUserBlanceByUserId(long userId,int operate);

    boolean findUserPhoneIsExistByPhone(String userPhone);

    boolean addUserInfo(UserInfo userInfo);

    boolean alterUserPrivilegetimesByUserId(Long userId);

    int findFansNumByUserId(Long userId);

    int alterPrivilegetimesByUserID(Long userId, Integer privilegetimes);

    Boolean alterUserInfo(UserInfo userInfo);
}
